package com.jinbai.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class User {
    public Integer uid;
    public String username;
    @JsonIgnore
    public String password;
    public String avatar; // 头像
    public String gitRepo; // git地址

    public User(Integer uid, String username, String password, String avatar, String gitRepo) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.avatar = avatar;
        this.gitRepo = gitRepo;
    }
}
